package cn.wolfcode.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@Getter@Setter
public class PotentialStudent {
    public static final Integer IS_MAN = 1;
    public static final Integer IS_WOMAN = 2;

    private Long id;

    private String name;

    private Integer age;//年龄

    private Integer sex;//性别

    private String tel;//tel或qq相同视为同一用户,在数据库手动添加时不要添加一样的

    private String qq;

    private String email;

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date entryDate;//建档日期

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date inputTime;//录入时间

    private String wechat;//微信

    private String school;

    private String address;//地址

    private String eduBackground;//学历

    private Boolean isFollowUp;//是否跟进

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date followUpTime;//下次跟进时间

    private String profession;//专业

    private String source;//来源

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date visitTime;//约访时间


    private String introducer;//介绍人

    private String clientType;//客户类型

    private String intentionDegree;//意向程度

    private String state;//状态

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM")
    private Date admissionTime;//入学时间

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM")
    private Date shiftTime;//转班时间

    private String campus;//意向校区

    private String subject;//意向学科

    private Boolean isPay;//零付款

    private String question;//关注问题

    private String comment;//备注


    private Employee salesman;//营销人员
    private Employee inputUser;//录入人 均默认为当前登录用户


   private PotentialStudent introducerStudent;//介绍学员,只有正式学员才能介绍

      //班级
    private Grade grade;

    private String newClassName;

    private School client;//学校客户

    private String englishLeval;//英语水平

    private Long workAge;//工作年限

    private BigDecimal totlMoney;//总学费

    private  Boolean MoneyState;//缴费状态

    private BigDecimal money;//已缴金额
    private BigDecimal owe;//欠费金额
    private String  type;//缴费类型

    private boolean shiftAudit; //转班审核状态

    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date finalTime;//最后转账时间


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date finalTrackingTime;//最后跟踪时间

    private Integer trackingTimes = 0;//跟踪次数

    private String iDNum;//身份证号

    private String emergencyContact;//紧急联系人

    private String emergencyTel;//紧急联系电话

    private String employmentIntention;//就业意向

    private String experience;//工作经历

    //放入资源池的状态
    private Boolean putPoolState;

    //关联gathering
    private Gathering gathering;

}